package com.example.xuefeng.repository;

import com.example.xuefeng.domain.News;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

@RepositoryRestResource(path = "news")
public interface NewsRepository extends JpaRepository<News,Long> {
}
